[NTG-context] Re: ck hyphenation in old German orthography

2024-03-18 Thread Hraban Ramm
\mainlanguage[deo] \setuplanguage[deo][    hyphenmin=4,    lefthyphenmin=2,    righthyphenmin=2, ] \starttext \hyphenatedfile{aesop-de} \startcolumns Funktioniert die Trennung? Heckeneckenzecken \samplefile{aesop-de} \stopcolumns \stoptext Just as a start, the languages manual provides more

[NTG-context] Re: ck hyphenation in old German orthography

2024-03-17 Thread Wolfgang Schuster
Hraban Ramm schrieb am 17.03.2024 um 12:06: Hi, the sample file aesop-de is in old German orthography, there, ck should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t hyphenated at all). Is there something I can configure? Hraban \mainlanguage[deo] \setuplanguage[deo

[NTG-context] ck hyphenation in old German orthography

2024-03-17 Thread Hraban Ramm
Hi, the sample file aesop-de is in old German orthography, there, ck should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t hyphenated at all). Is there something I can configure? Hraban \mainlanguage[deo] \setuplanguage[deo][   hyphenmin=4,   lefthyphenmin=2,   righthyphenmin=2

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
, of course. %We are giving below an example of a text written in a Latin language, in which we want to print here and there some text in ancient Greek, Arabic and Chinese. \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setuplayout [backspace=40mm] \setuppagenumbering[alternative

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
Thanks to Thomas and Denis, That's it: use GFS Didot for the French text and Theano Didot for the Greek. In my working text I have this preamble (and other things): \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation]] \setuplayout [backspace=40mm

[NTG-context] Re: Issue with italics

2024-02-26 Thread Thomas A. Schmitz
add \setuplanguage [fr] [patterns={fr,agr}] The line where you have polytonic Greek does not use precomposed characters, but combinations of greek characters and diacritics; this will probably not work in recent context versions that expect actual unicode input. I hope I have really understood

[NTG-context] Re: usage of conversion in \date

2023-11-29 Thread Peter Münster
On Wed, Nov 29 2023, Hans Hagen wrote: > \setuplanguage[fr][date={day:++,\ ,month,\ ,year}] Unfortunately this does not work as I need. Only the "1" should be converted to 1er, not the other numbers. French is a bit special: You say "le premier novembre" but not "

[NTG-context] Re: usage of conversion in \date

2023-11-29 Thread Hans Hagen
\\ier" else context(s) end end } \stopluacode \def\ier{\highordinalstr{er}} \mainlanguage[fr] \defineconversion[frd][\FRdate] \setuplanguage[fr][date={day:frd,\ ,month,\ ,year}] \starttext Conversion: \convertnumber{frd}{1}, \convertnumber{frd}{2} (OK

[NTG-context] usage of conversion in \date

2023-11-28 Thread Peter Münster
end end } \stopluacode \def\ier{\highordinalstr{er}} \mainlanguage[fr] \defineconversion[frd][\FRdate] \setuplanguage[fr][date={day:frd,\ ,month,\ ,year}] \starttext Conversion: \convertnumber{frd}{1}, \convertnumber{frd}{2} (OK)\\ Dates: \date[d=1], \date[d=2] (not OK) \stoptext --8<

[NTG-context] Re: \phrasetext issue with language uk. Was: Ukrainian hyphenation?

2023-08-05 Thread Gerben Wierda
yle:oblique, > force=yes, > rscale=1.0] > \definefontfamily [archimate] [ss] [Helvetica] > \setupbodyfont[archimate] > > \definelabelclass[phrase] > \setupphrasetext[en][sheettitle={ArchiMate® 3.2 Metamodel -- Core}] > \setupphrasetext[ru][sheettitle={Ядро метамодели ArchiMate® 3.2}]

[NTG-context] \phrasetext issue with language uk. Was: Ukrainian hyphenation?

2023-08-05 Thread Gerben Wierda
ArchiMate® 3.2}] \setupphrasetext[ua][sheettitle={Основні елементи метамоделі ArchiMate® 3.2}] \starttext \setuplanguage[uk][patterns={uk}]\mainlanguage[uk] \phrasetext{sheettitle} \setuplanguage[ru][patterns={ru}]\mainlanguage[ru] \phrasetext{sheettitle} \setuplanguage[uk][patterns={uk}]\mainlanguag

[NTG-context] Re: Ukrainian hyphenation?

2023-07-19 Thread Hans Hagen
=style:oblique, force=yes, rscale=1.0] \definefontfamily [archimate] [ss] [Helvetica] \setupbodyfont[archimate] \starttext \setuplanguage[en][patterns={ru}]\mainlanguage[ru] {\framed[frame=on,align=flushleft,width=7cm]{Техніка здатна до фізичної поведінки (на відміну від інформаційної поведінки

[NTG-context] Ukrainian hyphenation?

2023-07-18 Thread Gerben Wierda
[archimate] [ss] [Helvetica] \setupbodyfont[archimate] \starttext \setuplanguage[en][patterns={ru}]\mainlanguage[ru] {\framed[frame=on,align=flushleft,width=7cm]{Техніка здатна до фізичної поведінки (на відміну від інформаційної поведінки). Наприклад `Металургійний комбінат'.}}\\ \setuplanguage[ua

Re: [NTG-context] Using the open source Cabin font

2023-06-16 Thread Gerben Wierda via ntg-context
>> \definefontfamily >>> [archimate] >>> [ss] >>> [Cabin] >>> [tf=style:Regular, >>> bf=style:Semibold, >>> it=style:Italic, >>> bi=style:Semibold Italic] >>> \setupbodyfont[archimate] >>>

Re: [NTG-context] Using the open source Cabin font

2023-06-16 Thread Wolfgang Schuster via ntg-context
Italic] \setupbodyfont[archimate] \setuplanguage[en][patterns={en}]\mainlanguage[en] \starttext \setupindenting[none] \setupindenting[no] {\bf The quick brown fox jumped over the lazy dog} \input knuth \stoptext But when compiling I get no bold text I installed it in LMTX and it has been installed:

Re: [NTG-context] Using the open source Cabin font

2023-06-16 Thread Gerben Wierda via ntg-context
Cabin > <https://fonts.google.com/specimen/Cabin>) like this: > > \definefontfamily > [archimate] > [ss] > [Cabin] > [tf=style:Regular, > bf=style:Semibold, > it=style:Italic, > bi=style:Semibold Italic] > \setupbodyfont[archimate]

[NTG-context] Using the open source Cabin font

2023-06-16 Thread Gerben Wierda via ntg-context
mibold Italic] \setupbodyfont[archimate] \setuplanguage[en][patterns={en}]\mainlanguage[en] \starttext \setupindenting[none] \setupindenting[no] {\bf The quick brown fox jumped over the lazy dog} \input knuth \stoptext But when compiling I get no bold text I installed it in LMTX and it ha

Re: [NTG-context] Chinese typesetting with macOS font. Which one is a good choice?

2023-06-04 Thread 李延瑞
Gerben Wierda via ntg-context 于2023年6月2日周五 19:37写道: > For Japanese I currently use > > \startsetups [japanese] > \setscript [nihongo] > \stopsetups > \setuplanguage [ja] [setups=japanese] > \definefallbackfamily > [archimate] > [ss] > [Hiragino Sans] >

[NTG-context] Chinese typesetting with macOS font. Which one is a good choice?

2023-06-02 Thread Gerben Wierda via ntg-context
For Japanese I currently use \startsetups [japanese] \setscript [nihongo] \stopsetups \setuplanguage [ja] [setups=japanese] \definefallbackfamily [archimate] [ss] [Hiragino Sans] [preset=range:japanese, tf=style:W3, it=style:W3, bf=style:W5, bi=style:W5, force=yes

Re: [NTG-context] Flushright problems with Japanese

2023-05-16 Thread Gerben Wierda via ntg-context
bodyfont[archimate] > > \startsetups [japanese] > \setscript [nihongo] > \stopsetups > \setuplanguage [ja] [setups=japanese] > \mainlanguage [ja] > > \starttext > \setupindenting[none] > \setupindenting[no] > \framed[width=\textwidth,frame=off,align=flushleft]{作図:A bi

Re: [NTG-context] Flushright problems with Japanese

2023-05-15 Thread 李延瑞
[Hiragino Sans] > [preset=range:japanese, >tf=style:W3, >it=style:W3, >bf=style:W5, >bi=style:W5, >force=yes] > > \definefontfamily [archimate] [ss] [Optima] > > \setupbodyfont[archimate] > > \startsetups [japanese] > \set

[NTG-context] Flushright problems with Japanese

2023-05-15 Thread Gerben Wierda via ntg-context
=style:W5, force=yes] \definefontfamily [archimate] [ss] [Optima] \setupbodyfont[archimate] \startsetups [japanese] \setscript [nihongo] \stopsetups \setuplanguage [ja] [setups=japanese] \mainlanguage [ja] \starttext \setupindenting[none] \setupindenting[no] \framed[width=\textwidth,frame=off

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Wolfgang Schuster via ntg-context
adapt the following setup (cyrillic and greek shown as the other languages with different character sets I use) \startmode[JA] \setuplanguage[ja][patterns={ja}]\mainlanguage[ja] \stopmode When your document prints only text in a single language change the setup above to     \startmo

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Gerben Wierda via ntg-context
(cyrillic and greek shown as the other languages with different character sets I use) \startmode[JA] \setuplanguage[ja][patterns={ja}]\mainlanguage[ja] \stopmode \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Gerben Wierda via ntg-context
o most of the > time TeX has no idea where to break. Is there something I can tell ConTeXt to > solve this for me or do I have to alk with the translator to put whitespace > in the correct places (kind of breaks the automatic linebreaking of TeX, > though)? I forgot to add. I use:

[NTG-context] \setuplanguage[explicitrighthyphenchar=-1] only works for English

2022-12-15 Thread Pablo Rodriguez via ntg-context
underscore }, } } end utilities.sequencers.appendaction("aftercopyingcharacters", "after","document.addfunnyhyphen") \stopluacode \definehyphenationfeatures [underscore] [righthyphenchar="FE000] \setuphyphenation[m

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-10 Thread Pablo Rodriguez via ntg-context
On 12/8/22 13:14, Hans Hagen via ntg-context wrote: > [...] > \setuplanguage > [explicitrighthyphenchar=-1] Sorry for insisting, Hans, but many languages (excepting en and uk) seem nor to recogize this option: \startluacode function document.addfunnyhyphen(tfmdata) local u

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Pablo Rodriguez via ntg-context
On 12/8/22 13:14, Hans Hagen via ntg-context wrote: > On 12/8/2022 12:33 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> What am I missing here? > > \setuplanguage > [explicitrighthyphenchar=-1] Many thanks for your fast reply, Hans. I’m afraid it doesn’t wor

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Hans Hagen via ntg-context
he hyphen, such as: ity- -leg As far as I can remember, I would say this used to work before (no extra hyphen was added in the next line. What am I missing here? \setuplanguage [explicitrighthyphenchar=-1] --

Re: [NTG-context] Suboptimal German hyphenation

2022-10-31 Thread Denis Maier via ntg-context
> Hans added hyphenmin some time ago: > > \setuplanguage[de][lefthyphenmin=2, righthyphenmin=3, hyphenmin=6] > \setuplanguage[deo][lefthyphenmin=2, righthyphenmin=3, hyphenmin=5] > \mainlanguage[de] > \starttext > \startTEXpage[offset=1em] > \hyp

Re: [NTG-context] Suboptimal German hyphenation

2022-10-19 Thread Pablo Rodriguez via ntg-context
ch, I found the recommendation in > Forssman, de Jong: Detailtypografie (4. Aufl, 2008, S. 124f.) to > use 2/3 for German justified texts, and 3/4 to 5/5 for ragged text. > They also recommend to never hyphenate words with 5 letters, not sure > that can be encoded. Hi Leah, Hans added hyp

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Henning Hraban Ramm via ntg-context
is correct, but you can get the same behaviour in ConTeXt with:     \mainlanguage[de]     \lefthyphenmin=2     \righthyphenmin=2 You can use \setuplanguage to change the values. \setuplanguage   [de]   [ lefthyphenmin=2,    righthyphenmin=2] Thank you, Leah, Max and Wolfgang! I changed

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Wolfgang Schuster via ntg-context
in=2 You can use \setuplanguage to change the values. \setuplanguage   [de]   [ lefthyphenmin=2,    righthyphenmin=2] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Getting started with Japanese

2022-07-09 Thread Gerben Wierda via ntg-context
Answering myself on Japanese, this actually works out of the box: \setuplanguage[ja][patterns={ja}]\mainlanguage[ja] \definefallbackfamily [archimate] [ss] [Hiragino Sans] [preset=range:japanese, tf=style:W3, it=style:W3, bf=style:W5, bi=style:W5, force=yes

Re: [NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 08.07.2022 um 12:21: On 8 Jul 2022, at 11:57, Taco Hoekwater wrote: On 8 Jul 2022, at 11:42, Gerben Wierda via ntg-context wrote: I have this minimal example: \startmode[EL] \setuplanguage[el][patterns={el}]\mainlanguage[el] That (‘el’) is a non

Re: [NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Gerben Wierda via ntg-context
> On 8 Jul 2022, at 11:57, Taco Hoekwater wrote: > > > >> On 8 Jul 2022, at 11:42, Gerben Wierda via ntg-context >> wrote: >> >> I have this minimal example: >> >> \startmode[EL] >> \setuplanguage[el][patterns={el}]\mainlangua

Re: [NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Taco Hoekwater via ntg-context
> On 8 Jul 2022, at 11:42, Gerben Wierda via ntg-context > wrote: > > I have this minimal example: > > \startmode[EL] > \setuplanguage[el][patterns={el}]\mainlanguage[el] That (‘el’) is a non-existent language, so it never becomes active. Best wishes, Taco — Taco Hoe

[NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Gerben Wierda via ntg-context
]} [default] {\enablemode[EN]} \stopmodeset \startmode[EN] \setuplanguage[en][patterns={en}]\mainlanguage[en] \stopmode \startmode[RU] \setuplanguage[ru][patterns={ru}]\mainlanguage[ru] \stopmode \startmode[EL] \setuplanguage[el][patterns={el}]\mainlanguage[el] \stopmode \definelabelclass[phrase

[NTG-context] Cyrillic UTF8 works, greek does not?

2022-06-22 Thread Gerben Wierda via ntg-context
What am I doing wrong? Minimum example: \setuplanguage[en][spacing=packed,patterns={en,el,ru,fr,pt}] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes

Re: [NTG-context] Contractions in ligature suppression word list

2022-06-07 Thread Denis Maier via ntg-context
Christian (UB) Cc: mailing list for ConTeXt users ; Bruce Horrocks Betreff: Re: [NTG-context] Contractions in ligature suppression word list Here's a short example (version 2022.05.11 11:36): \setuplanguage[en][goodies={lang-en.llg}] \starttext % Expected: no ligature; actual: as expected wolfish

Re: [NTG-context] Contractions in ligature suppression word list

2022-06-06 Thread Thangalin via ntg-context
Here's a short example (version 2022.05.11 11:36): \setuplanguage[en][goodies={lang-en.llg}] \starttext % Expected: no ligature; actual: as expected wolfish % Expected: no ligatures; actual: ligature wolfing wolfin' wolfin’ \stoptext

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-06 Thread Pablo Rodriguez via ntg-context
On 6/6/22 02:19, Gerben Wierda via ntg-context wrote: > For Russian I have: > > \setuplanguage[ru][patterns={ru}]\mainlanguage[ru] > \definefallbackfamily >   [archimate] >   [ss] >   [Helvetica] >   [preset=range:cyrillic, >    tf=style:light, >    it=style:light

[NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-05 Thread Gerben Wierda via ntg-context
For Russian I have: \setuplanguage[ru][patterns={ru}]\mainlanguage[ru] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily [archimate

Re: [NTG-context] How do I turn off indentation inside a \framed with align=?

2022-06-03 Thread Wolfgang Schuster via ntg-context
rovide a minimal example (how much I would like to) as my TeX is produced in a pipeline from 5600 lines of lua and METAPOST code. But luckily, in this case I can, the one using \phrasetext is indented, the other one is not.: \setuplanguage[en][patterns={en}]\mainlanguage[en] \definelabe

Re: [NTG-context] How do I turn off indentation inside a \framed with align=?

2022-06-02 Thread Gerben Wierda via ntg-context
d in a pipeline from 5600 lines of lua and METAPOST code. But luckily, in this case I can, the one using \phrasetext is indented, the other one is not.: \setuplanguage[en][patterns={en}]\mainlanguage[en] \definelabelclass[phrase] \setupphrasetext[en][metamodelexplanation= {Only direct rela

Re: [NTG-context] blockligatures removing characters

2022-05-13 Thread Denis Maier via ntg-context
}, words = [[ This That ]], }, }, } table.save("oeps-fixes.llg",demo) \stopluacode \setuplanguage[en][goodies={oeps-fixes.llg}] \mainlanguage[en] \setupbodyfont[libertine] \starttext fiets fiots fiats fioot This That Then

Re: [NTG-context] blockligatures removing characters

2022-05-13 Thread Ben Moon via ntg-context
; fio = "T|h", > }, > words = [[ This That ]], > }, > }, > } > table.save("oeps-fixes.llg",demo) > \stopluacode > > \setuplanguage[en][goodies={oeps-fixes.llg}] > > \setupbodyfont[ebgaramond] > > \starttext >

Re: [NTG-context] blockligatures removing characters

2022-05-13 Thread Ben Moon via ntg-context
fio = "T|h", }, words = [[ This That ]], }, }, } table.save("oeps-fixes.llg",demo) \stopluacode \setuplanguage[en][goodies={oeps-fixes.llg}] \setupbodyfont[ebgaramond] \starttext fiets fiots fiats fioo

Re: [NTG-context] Does \startnotallmodes work?

2022-05-11 Thread Gerben Wierda via ntg-context
notallmodes[FR,RU]% english is the default >> \enablemode[EN] >> \stopnotallmodes >> >> \startmode[EN] >> % \BLURBTWO >> \setuplanguage[en][patterns={en}] >> \setupexternalfigure[directory=../LMTX-Output/without-ids/en/ArchiMate 3.1 >> Metamodel ESv4

Re: [NTG-context] Does \startnotallmodes work?

2022-05-10 Thread Rik Kabel via ntg-context
mode=EN is not turned on. %\startmode[FR] %  \BLURBONE %  \stopmode \startnotallmodes[FR,RU]% english is the default \enablemode[EN] \stopnotallmodes \startmode[EN] %  \BLURBTWO \setuplanguage[en][patterns={en}] \setupexternalfigure[directory=../LMTX-Output/without-ids/en/ArchiMate 3.1 Metamodel

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-10 Thread Gerben Wierda via ntg-context
Fix > On 10 May 2022, at 22:41, Gerben Wierda via ntg-context > wrote: > > I currently have: > > \startnotallmodes[FR,RU]% english is the default > \enablemode[EN] > \stopnotallmodes > \startmode[EN] > \setuplanguage[en][patterns={en}] > \setupexternalfigure

[NTG-context] Does \startnotallmodes work?

2022-05-10 Thread Gerben Wierda via ntg-context
% \stopmode \startnotallmodes[FR,RU]% english is the default \enablemode[EN] \stopnotallmodes \startmode[EN] % \BLURBTWO \setuplanguage[en][patterns={en}] \setupexternalfigure[directory=../LMTX-Output/without-ids/en/ArchiMate 3.1 Metamodel ESv4] \stopmode \startmode[FR] \setuplanguage[fr][patterns

[NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-10 Thread Gerben Wierda via ntg-context
I currently have: \startnotallmodes[FR,RU]% english is the default \enablemode[EN] \stopmode \startmode[EN] \setuplanguage[en][patterns={en}] \setupexternalfigure[directory=../LMTX-Output/without-ids/en/ArchiMate 3.1 Metamodel ESv4] \stopmode \startmode[FR] \setuplanguage[fr][patterns={en,fr

Re: [NTG-context] blockligatures removing characters

2022-05-09 Thread Denis Maier via ntg-context
options = { { substitutions = { th = "t|h", Th = "T|h", }, }, }, } table.save("blockthlig.llg",blockthlig) \stopluacode \setuplanguage[

Re: [NTG-context] blockligatures removing characters

2022-05-09 Thread Hans Hagen via ntg-context
}, } table.save("oeps-fixes.llg",demo) \stopluacode \setuplanguage[en][goodies={oeps-fixes.llg}] \setupbodyfont[ebgaramond] \starttext fiets fiots fiats fioot this that \stoptext I just added (no upload) this \startluacode local demo = {

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-25 Thread Hans Hagen via ntg-context
lookups = { 1 } } } } } A better an dmore reliable approach is this: \startluacode local demo = { name= "demo", options = { { patterns = { fio = "f|io",

Re: [NTG-context] Harvard bibliography style

2021-08-10 Thread Thomas A. Schmitz via ntg-context
rticle] [\s!default:\s!list:title] [\c!style=, % journal is set in italics \c!command=\quotation] You can either replace command=\quotation with command=\quote or adapt the symbol for quotations for your language, e.g. \setuplanguage[en] [leftquotation=\upperleftsinglesixq

Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .

2021-06-15 Thread Wolfgang Schuster
\definefontfamily [source-han] [rm] [Source Han Serif] \startsetups [japanese] \switchtobodyfont [source-han] \setscript [hanzi] \stopsetups \setuplanguage [ja] [setups=japanese] \starttext English {\ja 日本語} \stoptext Wolfgang

Re: [NTG-context] \setcharacterspacing

2021-05-18 Thread Alan Bowen
spacing only when > • the environment file has the \startsetups...\stopsetups > • either \setup[test] or \setuplanguage[fr][setups=test] is in the > component file. > > Is this expected behavior? > > (Before I just \setcharacterspacing[test] in the env file but now it

Re: [NTG-context] \setcharacterspacing

2021-05-17 Thread Wolfgang Schuster
Alan Bowen schrieb am 17.05.2021 um 21:50: That is very good to know and it works in simple cases. But I am finding that in a product/component structure, I get the proper spacing only when • the environment file has the \startsetups...\stopsetups • either \setup[test] or \setuplanguage[fr

Re: [NTG-context] \setcharacterspacing

2021-05-17 Thread Alan Bowen
That is very good to know and it works in simple cases. But I am finding that in a product/component structure, I get the proper spacing only when • the environment file has the \startsetups...\stopsetups • either \setup[test] or \setuplanguage[fr][setups=test] is in the component file

Re: [NTG-context] \setcharacterspacing

2021-05-17 Thread Wolfgang Schuster
Alan Bowen schrieb am 17.05.2021 um 20:57: Wolfgang—Thank you. That works very nicely! You can also remove the \startsetups and \stopsetups commands to enable the spacing. When you want the spacing only for certain languages you can use \setuplanguage to load the setups-block for them

[NTG-context] Language goodies -- hard line break the algorithm?

2021-05-12 Thread denis.maier
Hi, testing the new language goodies feature for ligature prevention, I found that hard line breaks seem to interfere somehow with the ligature prevention mechanism: == \setuplanguage[de][ goodies={lang-de.llg}] \startlanguageoptions[de] auf|jubeln \stoplanguageoptions

[NTG-context] new upload

2021-03-31 Thread Hans Hagen
(and i might add that at some point) this particular mechanism plugs into the hyphenator so that we get no real performance hit (I can proabbly improve it if really needed but let's first see if users complain.) Here is an exmaple (to be default or not?) \setuplanguage [de] [goodies={lang

[NTG-context] French spacing in ConTeXt

2020-11-04 Thread Tomas Hala
Hi all, the following code works for the default roman family but not for tt-family. \setuplayout[width=30cc,height=70cc,topspace=0cc] \def\sample{\input knuth \par\thinrule\par} \starttext \setuplanguage[en][spacing=packed] \mainlanguage[en] \sample \setuplanguage[en][spacing=broad

Re: [NTG-context] font rendering in bibliography

2020-10-28 Thread Xenos Athenaios
\setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex

Re: [NTG-context] inter-word spacing

2020-10-22 Thread Jano Kula
be it \, \nospace, \thinspace > If one will finetune every space in the paragraph, this could be a way, but it's far from a nice solution. \setuplanguage[en][spacing=packed]. > > This latter especially because I want to avoid some rather ugly spaces > after a period. > Which

Re: [NTG-context] inter-word spacing

2020-10-22 Thread jbf
,stretched], and \setuplanguage[en][spacing=packed]. This latter especially because I want to avoid some rather ugly spaces after a period. Then once I see how things look, I apply {\kerncharacters[-0.025] my text} in particular instances where things need to be tidied up. I have found that -0.025

Re: [NTG-context] Problem with fonts in Lua

2020-09-18 Thread Pablo Rodriguez
On 9/15/20 1:15 PM, Wolfgang Schuster wrote: > \setuplanguage [es] [patterns={es,gr}] Just a minor issue, ancient Greek is "agr" (instead of "gr"). That being said, Heraklit is a good match for Palatino (both by Hermann Zapf). The digitized version is available from h

Re: [NTG-context] Problem with fonts in Lua

2020-09-15 Thread Wolfgang Schuster
] [ss] [TeX Gyre Heros] [scale=0.75] \setuplanguage [es] [patterns={es,gr}] \setupbodyfont [mainface] \mainlanguage[es] \starttext \samplefile{cervantes-es} \samplefile{aristotle-grc} \stoptext Wolfgang ___ If your

Re: [NTG-context] lmtx update

2020-08-03 Thread Pablo Rodriguez
an occasional challenge). If you are open for suggestions, I would ask for a footnotes that behave as a page index, such as in: \setuplanguage[en][patterns={en,agr}] \setuppapersize[A6] \setupbodyfont[dejavu] \definenote[dict] \setupnote[dict][n=2,rule=off, split=strict, inbetween=

[NTG-context] indentnext option for \setuplanguage?

2020-07-23 Thread Pablo Rodriguez
Hans, as Garulfo mentioned in a previous message (https://mailman.ntg.nl’t /pipermail/ntg-context/2020/098826.html), French may require that all paragraphs are indented (no matter what comes before the paragraph). Spanish also requires that. How about a key for "indentnext" in \set

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-04 Thread Pablo Rodriguez
Optima as the default font, but there may be snippets in > other languages which should be typeset in a font that can handle > cyrillic. Helvetica is an option. So is dejavu. Now I get it: a fallback typeface for Russian and the main typeface as Optima. This might read the followi

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-04 Thread Gerben Wierda
many different permutations, I tried everything I could >> find on ConTeXtgarden (but then, that also finds me stuff from 15 years >> ago that isn’t valid anymore), but no luck so far. > > Sorry for not explaining it better, Gerben. > > Let me know if the following sam

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-04 Thread Pablo Rodriguez
d on ConTeXtgarden (but then, that also finds me stuff from 15 years > ago that isn’t valid anymore), but no luck so far. Sorry for not explaining it better, Gerben. Let me know if the following sample works for you: \setuplanguage[en][patterns={en, ru}] \definefallbackfamily [abc] [ss] [H

Re: [NTG-context] \registerhyphenationexception not working

2020-03-07 Thread Pablo Rodriguez
ght hyphenation: \setuplanguage[cs][righthyphenmin=2] \mainlanguage[cs] \setuphyphenation[method=traditional] \registerhyphenationexception[cs][cíl-em]% \starttext \startTEXpage[offset=1ex] \hyphenatedword{cílem} \stopTEXpage \stoptext The value for righthyphenmi

Re: [NTG-context] Left hanging hyphen

2020-03-05 Thread Tomas Hala
Hi Wolfgang, # You can use the default language for the reset: # # \startsetups [language:czech] # \setbreakpoints [czcompound] # \stopsetups # # \startsetups [language:other] # \resetbreakpoints # \stopsetups # # \setuplanguage # [cz] # [setups=language:czech] # # \setuplanguage

Re: [NTG-context] Left hanging hyphen

2020-03-04 Thread Wolfgang Schuster
inlanguage[\langpar] > } > > which repeats only the Czech hyphen but with a side effect -- hyphenated > words are not broken anymore in other languages. > What am I doing wrong? Or is there any system solution? > %% > > Best wishes, > > Tomáš > > > begin ex

Re: [NTG-context] Left hanging hyphen

2020-03-04 Thread Tomas Hala
[czcompound] \definebreakpoint [czcompound] [-] [nleft=3,nright=3,type=4] \startsetups [czech] \setbreakpoints [czcompound] \stopsetups \setuplanguage [cz] [setups=czech] \definefontfeature [default] [default] [protrusion=tomas_hala] %\def\mylanguage{cs} \appendtoks \ifx\mylanguage\currentlanguage \se

Re: [NTG-context] Left hanging hyphen

2020-03-02 Thread Wolfgang Schuster
efinebreakpoint [czcompound] [-] [nleft=3,nright=3,type=4] \startsetups [czech] \setbreakpoints [czcompound] \stopsetups \setuplanguage [cz] [setups=czech] \definefontfeature [default] [default] [protrusion=tomas_hala] \setupalign [hanging] \mainlanguage [cz] \showframe [text] [text] \st

[NTG-context] Chapters, sections, usw

2020-02-24 Thread Jean-Pierre Delange
to print chapter titles. Thank you in advance for your help. JP See below the MWE : % \showframe %\showgrid \setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupbodyfontenvironment[default][em=italic

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-12 Thread Rik Kabel
ghts validator found at %%https://www.pdf-online.com/osa/validate.aspx (current 2020-01-20). %% %% This is not a minimal example. \definemode [hidden][keep] \setuplanguage [en] \setuppapersize [A6,landscape] \setuppagenumbering [location=] \setuptagging

Re: [NTG-context] Quotation dash issues with semantic markup

2020-01-17 Thread Wolfgang Schuster
Hans Hagen schrieb am 30.12.2019 um 10:19: On 12/30/2019 5:03 AM, Sam May wrote: \setuplanguage[en] [leftquotation=\quotedash~, rightquotation=~\quotedash, leftsentence=\removeunwantedspaces~\endash\space, midsentence=\removeunwantedspaces~\endash\space, %    leftsentence

Re: [NTG-context] Hyphenation LuaTeX

2020-01-17 Thread Thomas A. Schmitz
anguage[es] \setuplanguage[es][patterns={es,agr}] \setupbodyfont[gentium,11pt] \starttext \hyphenatedword{ἄνθρωπος selección} \stoptext If this fails for OP, he will have to produce a real example, taking out irrelevant parts and telling us which version he uses. In the original example, there was only &

Re: [NTG-context] Hyphenation LuaTeX

2020-01-17 Thread Henning Hraban Ramm
> Am 2020-01-17 um 12:05 schrieb MANUEL GONZALEZ SUAREZ > : > > Hi: > When I compile a document with the following preamble: > > \mainlanguage[es] > %\setuphyphenation[method=traditional] > \usemodule[simplefonts] > \setuplanguage[es][patterns={es,agr}] >

[NTG-context] Hyphenation LuaTeX

2020-01-17 Thread MANUEL GONZALEZ SUAREZ
Hi: When I compile a document with the following preamble: \mainlanguage[es] %\setuphyphenation[method=traditional] \usemodule[simplefonts] \setuplanguage[es][patterns={es,agr}] \definefallbackfamily [mainface] [serif] [Old Standard] [range={greekandcoptic, greekextended}, force=yes, rscale

Re: [NTG-context] Quotation dash issues with semantic markup

2019-12-30 Thread Hans Hagen
On 12/30/2019 5:03 AM, Sam May wrote: \setuplanguage[en] [leftquotation=\quotedash~, rightquotation=~\quotedash, leftsentence=\removeunwantedspaces~\endash\space, midsentence=\removeunwantedspaces~\endash\space, % leftsentence=\endash~, % midsentence

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
ay [WatermarkOverlay] >> [{\framed[frame=off, >>foregroundcolor=red] >> {\scale[factor=max] >>{\rotate[rotation=60.0] >> {~Oops!~

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
]   {\scale[factor=max]    {\rotate[rotation=60.0]     {~Oops!~] \setupbackgrounds    [page] [background=WatermarkOverlay] %setuptagging    [state=stop] \setuptagging    [state=start] \setuplanguage

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
] [background=WatermarkOverlay] %setuptagging    [state=stop] \setuptagging    [state=start] \setuplanguage   [en] [spacing=packed] \setupinterlinespace [2.2ex] \definenarrower  [MidOneEm] [middle=1em

Re: [NTG-context] PDF/A-3a attachment support query

2019-12-06 Thread Peter Rolf
lacking PDF/A documentation (ISO pay wall). I guess there is currently no real reason to use that format at all (?). Best wishes, Peter Am 06.12.2019 um 03:11 schrieb Rik Kabel: > Hello list, > > The following document fails PDF/A-3a validation. It passes without the > att

[NTG-context] PDF/A-3a attachment support query

2019-12-05 Thread Rik Kabel
Hello list, The following document fails PDF/A-3a validation. It passes without the attachment. \setuplanguage   [en] \setuptagging    [state=start] \setupinteraction    [state=start] \setupbackend    [format={pdf/a-3a},profile={default_gray.icc

Re: [NTG-context] Creating one's own style

2019-05-18 Thread Alan Braslau
range effect (full MWE in attachment): Corrected MWE attached. -- Alan Context_bib.pdf Description: Adobe PDF document %\enabletrackers[publications.setups] \setuplanguage[ru] \setupbodyfont[dejavu] \mainlanguage[russian] \setupindenting[big,yes] \setbreakpoints[compound] \startbuffer[bib] @

Re: [NTG-context] How to repeat the hyphen?

2019-03-25 Thread Sam May
Sounds like you've got it working, but just to provide an alternative that should* work, according to the sources: \setuplanguage[cz] [compoundhyphen=-,%Or, to keep the \setuphyphenmark rightcompoundhyphen=-,% configuration mentioned in Taco's link: leftcompoundhyphen

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
%\stopluacode \setuplanguage[kr][patterns=us] \mainlanguage[kr] \setscript[hangul] %\usetypescriptfile[type-hcrlvt] %\usetypescript[HcrFont] % As set in your typescript file %\definefontfamily [Myface] [mm][Neo Euler] \definefont[fancy][Zapfino at 24pt] \definefont[GreekA][MinionPro-MediumIt

Re: [NTG-context] Language dependency in environment-project file

2018-11-28 Thread Hans Hagen
[*] \startsetups [itemgroup:en]   \setupitemgroup [itemize] [i] \stopsetups \startsetups [itemgroup:sv]   \setupitemgroup [itemize] [a] \stopsetups \setuplanguage   [en]   [setups=itemgroup:en] \setuplanguage   [sv]   [setups=itemgroup:sv] \appendtoks \doifdocumentvariable{language

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Wolfgang Schuster
\startsetups [itemgroup:sv]   \setupitemgroup [itemize] [a] \stopsetups \setuplanguage   [en]   [setups=itemgroup:en] \setuplanguage   [sv]   [setups=itemgroup:sv] \appendtoks \doifdocumentvariable{language}{\mainlanguage[\documentvariable{language}]} \to \everysetupdocument

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Marco Patzer
gt; > \startsetups [itemgroup:sv] >   \setupitemgroup [itemize] [a] > \stopsetups > > \setuplanguage >   [en] >   [setups=itemgroup:en] > > \setuplanguage >   [sv] >   [setups=itemgroup:sv] > > \appendtoks > \doifdocumentvariable{lang

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Wolfgang Schuster
] [i] \stopsetups \startsetups [itemgroup:sv]   \setupitemgroup [itemize] [a] \stopsetups \setuplanguage   [en]   [setups=itemgroup:en] \setuplanguage   [sv]   [setups=itemgroup:sv] \appendtoks \doifdocumentvariable{language}{\mainlanguage[\documentvariable{language}]} \to \everysetupdocument

Re: [NTG-context] Typesetting abbreviations

2018-10-28 Thread Clyde Johnston
[A8] \starttext Mr. \vrule John Doe Mr\kern-.1em.~\vrule John Doe \setuplanguage [en] [spacing=packed] Mr. \vrule John Doe Mr\kern-.1em.~\vrule John Doe \stoptext Maybe this would be better handled with a macro. Clyde From: Wolfgang Schuster

  1   2   3   4   >